<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2018/10/31
  Time: 14:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
%>
<html>
<head>
    <title>添加订单(测试)</title>
    <link rel="stylesheet" href="<%=path%>/resources/css/x-admin.css">
    <script src="<%=path%>/resources/lib/layui/layui.js" charset="utf-8"></script>
    <script src="<%=path%>/resources/js/x-layui.js" charset="utf-8"></script>
</head>
<body>
    <div class="x-body">
        <form action="<%=path%>/order/addOrder" method="post">

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>商品Id
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="product_Id" name="productId" required
                           autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>用户Id
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="user_Id" name="userId" required
                            autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>商品数量
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="product_Number" name="productNumber" required
                            autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label"></label>
                <!--<button class="layui-btn" onclick="return check()">提交</button>-->
                <input type="submit" value="添加" class="layui-btn">
            </div>
        </form>
    </div>
    <script>
    </script>
</body>
</html>
